import requests
from bs4 import BeautifulSoup
import json

url = 'https://www.ptpress.com.cn'

news_url = 'https://www.ptpress.com.cn/newsInfo/getWorkingTrendsForGrid'

# response = requests.get(url)
# soup = BeautifulSoup(response.text, 'json.parser')

#print(soup.select('#trend'))
# res = requests.get(news_url)
# json = json.loads(res.text)
# for news in json['data']['news6']:
#     if 'mainTitle' in news:
#         print(news['mainTitle'])

print(requests.get('https://blog.qingke.me/tags').text)

